<?php
use Illuminate\Routing\Router;
Route::group([
    'prefix'=>strtolower('Mp' ),
    'as' => 'mp::',
    'namespace' => 'App\\Mp\\Controllers' ,
    'middleware'=> ['web','mp']
],function(Router $router ){
    $router->get('index/index' ,  ['as'=>'index.index','uses'=>'IndexController@index']);

    $router->get('permission/index' ,  ['as'=>'permission.index','uses'=>'PermissionController@index']);

    $router->get('permission/roles' ,  ['as'=>'permission.roles','uses'=>'PermissionController@roles']);
});